package hello.jax.rs;

import hello.model.HelloRsBean;
import org.apache.cxf.jaxrs.ext.multipart.Multipart;
import org.springframework.stereotype.Service;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import java.io.InputStream;

/**
 * @author majinding888@foxmail.com
 * @date 2016-12-30 下午5:43:14
 */
@Service
public class HelloServiceImpl1 implements HelloService {

	@Override
	public String sayHello(String a) {
		return "Hello " + a + ", Welcome to CXF RS Spring Boot World!!!";
	}

	@Override
	public String sayHellob(HelloRsBean helloRsBean) {
		System.out.println(helloRsBean.toString());
		return "majingjing";
	}


}
